package com.zl.enums
{
	import mx.collections.ArrayCollection;
	
	public class PpModuleType
	{
		public static const TestDate:PpModuleType = new PpModuleType("日期", "testDate");
		public static const PRODUCTID:PpModuleType = new PpModuleType("工件号", "productId");
		public static const PP:PpModuleType = new PpModuleType("弹性旁承载荷", "pp");
		public static const T:PpModuleType = new PpModuleType("弹性旁承预压缩量", "t");
		public static const S:PpModuleType = new PpModuleType("旁承滚子至上旁承之间的间隙", "s");
		
		public static const S1:PpModuleType = new PpModuleType("滚子顶面至弹性旁承磨耗板上表面距离(自由状态)", "s1");
	/*	public static const T1:PpModuleType = new PpModuleType("旁承座高度", "t1");
		public static const T2:PpModuleType = new PpModuleType("旁承弹性体高度", "t2");
		public static const T3:PpModuleType = new PpModuleType("旁承磨耗板厚度", "t3");*/
		public static const T2:PpModuleType = new PpModuleType("旁承磨耗板顶面至下心盘的距离", "t2");
		
		public static const T4:PpModuleType = new PpModuleType("旁承弹性体垂向刚度", "t4");
		public static const T5:PpModuleType = new PpModuleType("旁承顶面至下心盘面的距离", "t5");
		public static const T6:PpModuleType = new PpModuleType("上心盘面至上旁承面的距离", "t6");
		public static const T7:PpModuleType = new PpModuleType("盘磨耗盘厚度", "t7");
	/*	public static const T8:PpModuleType = new PpModuleType("承垫板厚度", "t8");*/
		public static const T9:PpModuleType = new PpModuleType("心盘垫板厚度", "t9");
		
		
/*		[Bindable] public static var PpModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,PP,T1,T2,T3,T4,T5,T6,T7,T8,T9]);*/
		
		[Bindable] public static var PpModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,PP,T4,T2,T6,T7,T9]);
		
	/*	[Bindable] public static var TModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,T,T1,T2,T3,T4,T5,T6,T7,T8,T9]);*/
		
		[Bindable] public static var TModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,T,T4,T2,T6,T7,T9]);
		
/*		[Bindable] public static var SModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,S,S1,T1,T2,T3,T4,T5,T6,T7,T8,T9]);*/
		
		[Bindable] public static var SModuleList:ArrayCollection = 
			new ArrayCollection([TestDate,PRODUCTID,S,S1,T4,T5,T6,T7,T9]);
		
		
		
		public function PpModuleType(n:String, v:String)
		{
			this._text = n;
			this._field = v;
		}
		
		private var _text:String;
		private var _field:String;
		
		public function get text():String
		{
			return _text;
		}
		public function get field():String
		{
			return _field;
		}
	}
}